home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1991 …esperately Seeking Seven / Desperately Seeking Seven.2mg / Dev.CD.8 / Essentials / Tools / DTS.Samples / SC02BusyBox / BusyBox.c / UGlobals.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-25  |  869 b   |  33 lines  |  [04] ASCII Text (0x0000)

  1. /***********************************************************************
  2. *
  3. *
  4. * busybox uglobals.c -- Version 3.0 
  5. *
  6. * Copyright (c)
  7. * Apple Computer, Inc.  1986-1990
  8. * All Rights Reserved.
  9. *
  10. * Developer Technical Support Apple II Sample Code
  11. *
  12. * This file contains the code which intializes the global variables 
  13. * used by the busy box program.
  14. *
  15. ***********************************************************************/
  16.  
  17. #include "busybox.h"
  18.  
  19. #include <quickdraw.h>
  20. #include <window.h>
  21.  
  22. unsigned int    userID;             /* returned from MMStartUp */
  23. unsigned int    quitFlag = 0;       /* True when quitting */
  24. unsigned int    staggerCount = 0;   /* Used to stagger windows as they open */
  25. WmTaskRec       event;              /* All events are returned here */
  26.  
  27. GrafPortPtr     windowList[NumWindows];    
  28.  
  29. void    initGlobals()
  30. {
  31.     quitFlag = staggerCount = 0;
  32. }
  33.